import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/views/Login'
import Home from '@/views/Home'
import NotFound from '@/views/404'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            name: 'home',
            component: Home
        },
        {
            path: '/login',
            name: 'Login',
            component: Login
        }
        ,{
            path: '/404',
            name: 'notFound',
            component: NotFound
        }
        ,{
            path: '/dict',
            name: 'dict',
            component:  () => import('@/views/sys/Dict.vue')
        }
        ,{
            path: '/count-to',
            name: 'count_to',
            component: () => import('@/views/count-to.vue')
        }
    ]
})
